
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import $ from 'jquery'
import 'element-ui/lib/theme-chalk/index.css'
import store from './vuex/store.js'
Vue.prototype.$ajax = axios
import ElementUi from 'element-ui'
import uploader from 'vue-easy-uploader'
Vue.prototype.getConfigJson=function(){
    axios.get("serverconfig.json").then((result)=>{
    	localStorage.setItem('ApiUrl',result.data.ApiUrl)
    }).catch((error)=>{console.log(error)});
}
import VueTouch from 'vue-touch'
Vue.use(VueTouch, {name: 'v-touch'})
Vue.use(ElementUi)
Vue.use(uploader,store)

import './assets/css/reset.css'
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
